package com.burgeon.backend.SHOP.service;


import com.burgeon.backend.SHOP.entity.GroupOrder;
import com.burgeon.backend.SHOP.entity.PayData;
import com.burgeon.backend.SHOP.service.ex.OrderExceptionApp;

import java.util.HashMap;

public interface GroupOrderService {

    HashMap orderResult(String gid,String oid,String uid,String token);

    PayData addGroupOrder(String grid,String groupOrderId,String mid,String uid,String aid,String cid,String code,
                          String phone,String type,String openid,String token,String comment,String emp)throws OrderExceptionApp;

    PayData createGroup(String grid,String mid,String uid,String aid,String cid,String code,
                        String phone,String type,String openid,String token,String comment,String emp) throws OrderExceptionApp;
    GroupOrder joinGroup(String grid, String token) throws OrderExceptionApp;
    void createGroupItem(String gid, String oid, String isCreator, String uid, String token);
}
